Placing Resources on a Growing Line

نویسندگان

  • Vincenzo Auletta
  • Mimmo Parente
  • Giuseppe Persiano
چکیده

We consider the problem of placing k identical resources in a graph where each vertex is associated with a nonnegative weight representing the frequency of requests issued by that vertex for the resource. We de ne the cost of a placement as the sum over all vertices of their distances to the closest resource weighted by their weights. The optimal placement is the placement with least cost among all placements. We give an algorithm for placing optimally k resources on a \growing" line. The algorithm starts with an empty line. At each step a new vertex is appended to the line and the algorithm has to recompute the optimal placement of the k resources. Our algorithm processes each new vertex in O(k) amortized time. As a corollary, we obtain an algorithm that computes the optimal placement of k resources in an n-vertex line in time O(kn), which is optimal for constant k. 3

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Placing Resources in a Tree: Dynamic and Static Algorithms

We study the classical problem of optimally placing resources in a tree. We give dynamic algorithms that recompute the optimal solution after a weight change in polylogarithmic time for the case of one resource in a general tree and for any number of resources in a complete tree. Our algorithms are the rst dynamic algorithms for this problem. We also give linear-time algorithms for the static v...

متن کامل

Effects ofpollinator line characteristics on quantity and quality of monogerm hybrid seed production in sugar beet (Beta vulgaris L.)

A two-year experiment was carried out to study the effects of pollinator line characteristicson the quantity and quality of monogerm hybrid seed production in sugar beet (Beta vulgaris L.)and select proper pollinator for five promising sugar beet cytoplasmic male sterile lines (CMSs)during 2012-2013 growing seasons. In this study, four diploid pollinator lines were crossed byfive CMSs of sugar ...

متن کامل

Effect of planting row ratios of parental lines and agronomic techniques on synchronizing of flowering and seed production of maize (Zea mays L.) SCK703 hybrid in Jiroft, Iran

To investigate the effect of different planting row ratios of parental lines and agronomic methods on synchronizing of flowering and seed production of SCK703 hybrid maize, a field experiment was carried out as a strip plot arranegemnts in randomized complete block design with three replications in southern Kerman agricukltural and natural rseraech and education center, Jiroft, Iran, in 2015 gr...

متن کامل

Quality of Eggs and Hatching Traits in Two Slow-Growing Dual-Purpose Chicken Lines Reared Conventionally or on Pasture

The quality of eggs and the hatching traits of two slow-growing lines – La Belle (LB) and Bresse Gauloise (BB) reared under conventional or alternative system with pasture access were compared. The birds of both lines in the study were at the age of 27-37 weeks. Two-way ANOVA was used to assess the effect of the rearing system as well as the line on the quality characteristics of the eggs and h...

متن کامل

CYTOTOXIC ACTIVITY OF THYMUS VULGARIS, ACHILLEA MILLEFOLIUM AND THUJA ORIENTALIS ON DIFFERENT GROWING CELL LINES

The cytotoxic activity of ethanolic extracts of Thymus vulgaris, Thuja orientalis and Achillea millefolium was investigated on various growing tumor cell lines. MTT colorimetric assay was used for measuring the inhibition of cell proliferation. All of the three extracts showed a relatively dose-dependent inhibition of proliferation of human breast cancer (SK-Br-3, MDA-MB-435) and leukemia ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. Algorithms

دوره 26  شماره 

صفحات  -

تاریخ انتشار 1998